﻿using SqlSugar;

namespace YOUYOU.Models.Entities.DBModels
{
    /// <summary>
    /// 筛查管理
    /// </summary>
    [SugarTable("sift_manager", TableDescription = "筛查管理")]
    public class SiftManager
    {
        /// <summary>
        /// 病人id
        /// </summary>
        [SugarColumn(ColumnName = "PatientId", IsIdentity = true, IsPrimaryKey = true)]
        public string PatientId { get; set; }

        /// <summary>
        /// 筛查次数
        /// </summary>
        [SugarColumn(ColumnName = "SiftNo", IsIdentity = true, IsPrimaryKey = true)]
        public int SiftNo { get; set; }

        /// <summary>
        /// 筛查日期
        /// </summary>
        [SugarColumn(ColumnName = "SiftDate")]
        public DateTime SiftDate { get; set; }

        /// <summary>
        /// 身高
        /// </summary>
        [SugarColumn(ColumnName = "Height")]
        public int? Height { get; set; }

        /// <summary>
        /// 体重
        /// </summary>
        [SugarColumn(ColumnName = "Weight")]
        public int? Weight { get; set; }

        /// <summary>
        /// 腰围
        /// </summary>
        [SugarColumn(ColumnName = "Waistline")]
        public int? Waistline { get; set; }

        /// <summary>
        /// 既往史
        /// </summary>
        [SugarColumn(ColumnName = "PastHistory")]
        public string? PastHistory { get; set; }

        /// <summary>
        /// 家族史
        /// </summary>
        [SugarColumn(ColumnName = "FamilyHistory")]
        public string? FamilyHistory { get; set; }

        /// <summary>
        /// 生活方式
        /// </summary>
        [SugarColumn(ColumnName = "LifeStyle")]
        public string? LifeStyle { get; set; }

        /// <summary>
        /// 摄盐情况
        /// </summary>
        [SugarColumn(ColumnName = "SaltNumber")]
        public string? SaltNumber { get; set; }

        /// <summary>
        /// 血压第一次高压
        /// </summary>
        [SugarColumn(ColumnName = "PressuresyStolicFirst")]
        public int? PressuresyStolicFirst { get; set; }

        /// <summary>
        /// 血压第一次低压
        /// </summary>
        [SugarColumn(ColumnName = "PressuresyDiastolicFirst")]
        public int? PressuresyDiastolicFirst { get; set; }

        /// <summary>
        /// 血压第二次高压
        /// </summary>
        [SugarColumn(ColumnName = "PressuresyStolicSecond")]
        public int? PressuresyStolicSecond { get; set; }

        /// <summary>
        /// 血压第二次低压
        /// </summary>
        [SugarColumn(ColumnName = "PressuresyDiastolicSecond")]
        public int? PressuresyDiastolicSecond { get; set; }

        /// <summary>
        /// 血压第三次高压
        /// </summary>
        [SugarColumn(ColumnName = "PressuresyStolicThird")]
        public int? PressuresyStolicThird { get; set; }

        /// <summary>
        /// 血压第三次低压
        /// </summary>
        [SugarColumn(ColumnName = "PressuresyDiastolicThird")]
        public int? PressuresyDiastolicThird { get; set; }

        /// <summary>
        /// 空腹血糖
        /// </summary>
        [SugarColumn(ColumnName = "BloodSugarFasting")]
        public decimal? BloodSugarFasting { get; set; }

        /// <summary>
        /// 餐后血糖
        /// </summary>
        [SugarColumn(ColumnName = "BloodSugarMeals")]
        public decimal? BloodSugarMeals { get; set; }

        /// <summary>
        /// 糖化血红蛋白
        /// </summary>
        [SugarColumn(ColumnName = "GlycatedProtein")]
        public decimal? GlycatedProtein { get; set; }

        /// <summary>
        /// 总胆固醇
        /// </summary>
        [SugarColumn(ColumnName = "Cholesterol")]
        public decimal? Cholesterol { get; set; }

        /// <summary>
        /// 高密度胆固醇
        /// </summary>
        [SugarColumn(ColumnName = "CholesterolHeight")]
        public decimal? CholesterolHeight { get; set; }

        /// <summary>
        /// 低密度胆固醇
        /// </summary>
        [SugarColumn(ColumnName = "CholesterolLow")]
        public decimal? CholesterolLow { get; set; }
    }
}
